<p class="text-center" style="padding-top:20px" id="code"></p>
<script type="text/javascript">
    $(document).ready(function () {
        $("#code").qrcode({
            width:200,
            height:200,
            text: "{site 'login/index'}"
        });
    });
</script>